package com.ztmg.water.mapper.bills;

import com.ztmg.water.model.bills.PutInBills;
import com.ztmg.water.model.bills.WaterStock;
import com.ztmg.water.model.bills.WaterStockExample;
import java.util.List;
import java.util.Map;

import com.ztmg.water.vo.bills.WaterStockAllVO;
import org.apache.ibatis.annotations.Param;

public interface WaterStockMapper {
    long countByExample(WaterStockExample example);

    int deleteByExample(WaterStockExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(WaterStock record);

    int insertSelective(WaterStock record);

    List<WaterStock> selectByExample(WaterStockExample example);

    WaterStock selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") WaterStock record, @Param("example") WaterStockExample example);

    int updateByExample(@Param("record") WaterStock record, @Param("example") WaterStockExample example);

    int updateByPrimaryKeySelective(WaterStock record);

    int updateByPrimaryKey(WaterStock record);

    int updateWaterNumsByWaterId(PutInBills example);

    int updateWaterRecycleNumsByWaterId(PutInBills example);

    List<WaterStockAllVO> selectWaterStockList(Map<String,String> params);
}